package com.wanyang.service;

import com.wanyang.vo.MemberLikeGroupVO;

import java.util.List;

public interface MemberLikeService {
    String[] allowed_like_type = new String[]{"POST", "POST_COMMENT"};

    String like_type_post = allowed_like_type[0];

    String like_type_post_comment = allowed_like_type[1];

    void likeOrUnlike(String type, Integer likedId);

    List<Integer> queryLikes(Integer memberId, String type);

    List<Integer> queryLikes(Integer memberId, String type, List<Integer> targetIds);

    List<MemberLikeGroupVO> queryLikesGroup(String type, List<Integer> targetIds);
}
